<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品详情</title>
    <link rel="stylesheet" href="../css/detail.css">
</head>

<body>
    <header></header>
    <section>
        <div class="box" id="box">

        </div>
        <script type="text/html" id="detailTemplate">
            <div class="left">
                <div class="big">
                    <ul>
                        {{each img image,index}}
                        <li class=""><img src="{{image}}" alt="">1</li>
                        {{/each}}
                    </ul>
                    <div class="mask hide"></div>
                </div>

                <div class="small">
                    {{each img item,index}}
                    <div><img src="{{item}}" alt=""></div>
                    {{/each}}
                </div>
                <div class="fangda">
                   {{each img image}}
                   <img src="{{image}}" alt="" class="show">
                    {{/each}}
                </div>
            </div>
            <div class="right">
                <p class="rtop">{{title}}</p>
                <p class="price">100-999元</p>
                <div class="center">
                    <ol>
                        {{each version version}}
                        <li>{{version}}</li>
                        {{/each}}
                    </ol>
                </div>
                <div class="num">
                    <div class="numleft">1</div>
                    <div class="numright">
                        <div class="righttop">+</div>
                        <div class="rb point">-</div>
                    </div>
                </div>
                <div class="add point">
                    加入购物车
                </div>
            </div>
            <div class="addbox">
                购物车
                <span>0</span>
            </div>
            <div class="allPrice">
                <span>X</span>
                <p>0</p>
            </div>
        </script>
    </section>
    <footer></footer>
</body>
<script src="../libs/require/require.min.js" data-main="../js/detail"></script>

</html>